Kunst hat mehr Berechtigung, ihren
Blick auf die zukünftigen Jahrhunderte zu richten als die
Typographie.}\wordright{Giambattista Bodoni}
\stop
\start
\setupinitial[method=last]
\placeinitial \quotation{Nationalökonomie ist, wenn die Leute sich
wundern, warum sie kein Geld haben.}\wordr
Pablo Rodriguez via ntg-context schrieb am 09.02.2024 um 20:07:
On 2/8/24 22:37, Otared Kavian wrote:
Hi Ursula,
I think you mean the so-called end of the proof sign, or QED (Quod Erat
Demonstrandum). You can use this:
\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED
On 2/8/24 22:37, Otared Kavian wrote:
> Hi Ursula,
>
> I think you mean the so-called end of the proof sign, or QED (Quod Erat
> Demonstrandum). You can use this:
>
> \definesymbol[QED][\mathematics{\square}]
> \def\qed{\wordright{\symbol[QED]}}
> \starttext
> This is
Aus-\par
sage h(m, f) sei ”m ist verliebt in f“. Unter diesen Voraussetzungen
machen \par Sie sich die Bedeutung der beiden Aussagen klar.}\wordright{\square}
\stopalignment
\stoptext
Many thanks
Uschi
Von: Ursula Hermann
Gesendet: Freitag, 9. Februar 2024 08:39
Dear Hraban, Dear Otared!
Many Thanks,
Hraban: Because of \wordright: I took a look at wordright at the wiki, works
perfect.
Otared, many thanks too. It also works perfect with your example
Uschi
Von: Otared Kavian
Gesendet: Donnerstag, 8. Februar
Hi Ursula,
I think you mean the so-called end of the proof sign, or QED (Quod Erat
Demonstrandum). You can use this:
\definesymbol[QED][\mathematics{\square}]
\def\qed{\wordright{\symbol[QED]}}
\starttext
This is the end of our proof. \qed
\stoptext
In principle it is included in ConTeXt
an
error message in the log that tells you about missing characters in your
selected font.
I’d suggest \wordright{} instead of your alignment construction.
Hraban
___
If your question is of interest to others
On Monday, October 25, 2021 7:34:06 AM IST kauśika cittūr wrote:
> On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote:
> > Dear list,
> >
> > In short, my question is: why does \wordright cause a line-break when the
> > line preceding it breaks with hyphena
On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote:
> Dear list,
>
> In short, my question is: why does \wordright cause a line-break when the
> line preceding it breaks with hyphenation and does not otherwise? How to
> avoid it (if at all possible)?
>
> I ha
On Sunday, October 24, 2021 5:31:32 PM IST Hans Hagen wrote:
> On 10/24/2021 1:08 PM, Benjamin Buchmuller via ntg-context wrote:
> > Maybe
> >
> > \hfill author
>
> It's anyway nicer to use
>
> % \definenarrower
> % [amnata]
> % [left=\measure{amnatamargin},
> %
{amnatamargin}]
but then them, the fact that we get something hyphenated interferes ..
tricky
On 24. Oct 2021, at 04:12, kauśika cittūr wrote:
Dear list,
In short, my question is: why does \wordright cause a line-break when the line
preceding it breaks with hyphenation and does not otherwise? How
Maybe
\hfill author
?
> On 24. Oct 2021, at 04:12, kauśika cittūr wrote:
>
> Dear list,
>
> In short, my question is: why does \wordright cause a line-break when the
> line
> preceding it breaks with hyphenation and does not otherwise? How to avoid it
> (if at al
On Sunday, October 24, 2021 7:42:59 AM IST kauśika cittūr wrote:
> Dear list,
>
> In short, my question is: why does \wordright cause a line-break when the
> line preceding it breaks with hyphenation and does not otherwise? How to
> avoid it (if at all possible)?
>
> I ha
Dear list,
In short, my question is: why does \wordright cause a line-break when the line
preceding it breaks with hyphenation and does not otherwise? How to avoid it
(if at all possible)?
I have this delimitedtext instance called 'amnata' defined as below:
\definemeasure[amnatamargin][3cm
On 4/18/2021 22:12, Rik Kabel wrote:
Dear all,
At some time in the last couple of years the behavior of \wordright
seems to have changed, at least in the following situation. With the
following example:
\starttext
\hsize3cm
Aaa\wordright{Aaa}\par
\sc{Bbb\wordright{Bbb
Dear all,
At some time in the last couple of years the behavior of \wordright
seems to have changed, at least in the following situation. With the
following example:
\starttext
\hsize3cm
Aaa\wordright{Aaa}\par
\sc{Bbb\wordright{Bbb}}\par
{\sc Ccc\wordright{Ccc}}\par
On 9/2/2020 11:10 AM, mf wrote:
Thanks Hans,
this solves the problem I had with the new implementation of \wordright.
It's not exactly a problem of \wordright, but the combination with
\groupedcommand.
that is always tricky as what happens is postponing till the group ends
but wordright now
Thanks Hans,
this solves the problem I had with the new implementation of \wordright.
It's not exactly a problem of \wordright, but the combination with
\groupedcommand.
Is \nextbox a new entry of latest versions?
I've seen also \nextboxwd, \nextboxht, etc.
So you can measure the next box
On 9/1/2020 5:47 PM, mf wrote:
\unexpanded\def\groupedwordorparagraphright{\dosingleempty\dogroupedwordorparagraphright}
\def\dogroupedwordorparagraphright[#1]{\groupedcommand{\setbox\scratchbox\hbox\bgroup}
{\egroup\ifdim\wd\scratchbox < \hsize
\wordright{\unhbox\scratchbox}
\e
Hello list,
this is a MWE that worked right in MkIV and in LMTX versions (at least)
until April 22nd, 2020.
There's a macro, \wordorparagraphright, that takes one argument, makes a
hbox with it and measures its width
- if its width is less than \hsize, then it calls \wordright
- if its
\definesymbol[Fin][\mathematics{\square}]
\def\qed{%
\ifmmode
\inrightmargin{\hskip-7.5mm\symbol[Fin]} % --> attention here
\else
\dontleavehmode\wordright{\symbol[Fin]}
\fi}
\setupformulas[location=left]
\starttext
One s
Fabrice Couvreur schrieb am 05.08.2020 um 19:33:
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[...,
closesymbol
Hello,
I also use a square to complete a demonstration. I tried this without
success
Thank you
Fabrice
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\strut\wordright{\symbol[Fin]}}
\defineenumeration
[proof]
[text=Démonstration,
alternative=serried,
distance=\zeropoint,
number
-qed.tex
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\ifmmode\quad\symbol[Fin]\else\strut\wordright{\symbol[Fin]}\fi}
\starttext
\startformula
a^2 + b^2 = c^2.
\stopformula
\startformula
a^2 + b^2 = c^2. \qed
\stopformula
One sees that\type{\qed} in the formula changes the alignment
seems to be \wordright, but
although the following minimal example shows a bug it does not produce the same
ERROR output page:
the square ''end of proof''
\definesymbol[Fin][\mathematics{\square}]
\def\qed{\wordright{\symbol[Fin]}}
\starttext
\startformula
a^2 + b^2 = c^2
\stopformula
\qed
Hi Hans,
A file which used to be typeset correctly with the previous versions of lmtx,
now produces an error. Despite the error message being extremely cryptic:
Error ! Missing number, treated as zero
I could guess the origin of the bug, which seems to be \wordright, but
although
caption, it should
>> move to the next line. ATM I’m clueless...
>>
>> That’s not enough (also not a MWE):
>>
>> \define[1]\Foto{\hfill\hbox{\tfx Foto: #1}}
>
> Doesn't \wordright do what you want?
I a
not a MWE):
\define[1]\Foto{\hfill\hbox{\tfx Foto: #1}}
Best, Hraban
Doesn't \wordright do what you want?
--
Rik
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
]
\startframedtext [frame=off,width=fit,offset=0.25ex]
\startlines [style=mono]
lichtung
manche meinen
lechts und rinks
kann man nicht
velwechsern.
werch ein illtum!
\wordright{ernst jandl}
\stoplines
\stopframedtext
\stopplacefloat
\dorecurse{2}{\samplefile
ramedtext[
frame=off,
width=fit,
style=\tt,
%background=color,backgroundcolor=yellow,
]{%
\startlines%
lichtung
manche meinen
lechts und rinks
kann man nicht
velwechsern.
werch ein illtum!
\wordright{ernst jandl}
\stoplines
}
\stopplacefloat
\dorecurse{2}{\input knuth}
\stoptext
style=\tt,
% background=color,backgroundcolor=yellow,
%]{\vbox{%
\startlines
lichtung
manche meinen
lechts und rinks
kann man nicht
velwechsern.
werch ein illtum!
\wordright{ernst jandl}
\stoplines
%}}
\stopplacefloat
\dorecurse{2}{\input knuth}
\stoptext
Greetlings, Hraban
---
https://www.fie
roof][text=Proof.]
\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
This is a simple proof.
\startformula
1+1=2.
\stopformula
\placeclosesymbol
\stopproof
\startproof
This is anoth
On Mon, 27 Aug 2018, Jeong Dal wrote:
Hi,
The same thing happens after the itemization as in the following MWE.
\defineenumeration[proof][text=Proof.]
\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi
MWE.
Thank you for reading.
Best regards,
Dalyoung
\defineenumeration[proof][text=Proof.]
\setupenumeration[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
This is a simple proof.
\stopproof
ligned one.
>
> So i wrote this:
>
> ---
> \def\wordorparagraphright#1{\let\scratchWidth\relax
> \setbox\scratchbox=\hbox{#1}\newdimen\scratchWidth
> \scratchWidth=\wd\scratchbox
> \ifdim\scratchWidth < 0.9\textwidth
> \wordright{#1}%
> \else
>
\wordright is ok until the numbers don't exceed the text width.
It manages these two cases right:
Index term, and some
text 21, 34, 45, 72
Index term, and some
text
21, 34, 45, 72, 89
When the numbers exceed the text width, it fails:
Index term, and some
text
21, 34, 45, 72, 89, 101, 103
}
\page
\LATEX\index{\LaTeX}
\page
\CONTEXT\index{\ConTeXt}
\page
\setupregisterpagescommand{\wordright}
\placeindex
\page
\resetregisterpagescommand
\placeindex
\stoptext
btw, Hans, are you going to add an option to \setupregister? :)
knowing that wolfgang looked into it i just wait till he cooks up
\registerparameter\c!pageleft}
\unexpanded\def\stopregisterpages
{\registerparameter\c!pageright
\dostoptagged
\endgroup}
\protect
\setupregister
[index]
[n=1,
alternative=A,
distance=0pt,
pageleft=\wordright\bgroup,
pageright=\egroup]
\starttext
\CONTEXT\index{\ConTeXt
\CONTEXT\index{\ConTeXt}
\page
\setupregisterpagescommand{\wordright}
\placeindex
\page
\resetregisterpagescommand
\placeindex
\stoptext
btw, Hans, are you going to add an option to \setupregister? :)
___
If your question
\useregisterstyleandcolor\c!pagestyle\c!pagecolor}
\unexpanded\def\stopregisterpages
{\dostoptagged
\endgroup}
And this seems to work:
\let\origstartregisterpages=\startregisterpages%
\let\origstopregisterpages=\stopregisterpages%
\unexpanded\def\startregisterpages{\origstartregisterpages\wordright\bg
.
\setupregister
[index]
[n=1,
alternative=A,
textcommand=\groupedcommand{}{\hfill\quad}]
Wolfgang
MF <mailto:mass...@fastwebnet.it>
9. Mai 2018 um 17:09
Hello list,
i'd like moving the page numbers in my index to the right, with a
\wordright.
\setupregister[index][n=1,alter
Hello list,
i'd like moving the page numbers in my index to the right, with a
\wordright.
\setupregister[index][n=1,alternative=A]
\starttext
\CONTEXT\index{\ConTeXt}
\page
\LATEX\index{\LaTeX}
\page
\CONTEXT\index{\ConTeXt}
\page
\placeindex
\stoptext
The index is at page 4. I want to move
ioning.
>> \stopparagraph
>> \startparagraph
>> It makes no difference in any test how the paragraphs are
>> delimited—blank lines, \tex{bpar}/\tex{epar},
>> \tex{startparagraph}/\tex{stopparagraph}, or \tex{par}.
>> \stopparagraph
>> \start
\egroup
\page
\startchapter
[title={Start/stop sectioning}]
\startsection[title={Mis\-cel\-la\-neous quo\-ta\-tions}]
\startparagraph
\input jojomayer
\stopparagraph
\startparagraph
\input carrol \wordright{No indent no whitespace
\startparagraph
\input carrol \wordright{No indent no whitespace.}
\stopparagraph
\stopsection
\bgroup
\setupwhitespace[medium]
\startsection[title={Miscellaneous quotations}]
\startparagraph
\input jojomayer
\stopparagraph
ommand
\definedescription[testdescription][title=yes,closecommand=\wordright,closesymbol={\symbol[square]}]
\starttext
\starttestdescription{Knuth}
\input knuth
\stoptestdescription
\stoptext
titleleft
titleright
titledistance
titlestyle
titlecolor
The title* keys can only be used with enumer
:
>>>
>>> \define\startpn
>>>{\grabuntil{stoppn}{\setgvariable{table}{p}}}
>>
>>
>> Thanks for you help. Sadly I can't get it working, even if I hard-code
>> the value of \setgvariable as e.g. \setgvariable{table}{p}{q}.
>>
>> I st
e cell that gets defined in the normal flow (just like another
paragraph within the cell).
Any pointers are welcome, I'm happy to dig deeper myself.
test \wordright{p}
-
Hans Hagen | PRAG
hat
> right alignment in both cases?
> Thanks,
> Massi
Have you looked at \wordright
<http://wiki.contextgarden.net/Command/wordright>?
--
Rik
___
If your question is of interest to others as
Thank you Rik, \wordright is exactly what I was looking for.
Best regards,
Massi
Il giorno lun, 16/11/2015 alle 09.34 -0500, Rik Kabel ha scritto:
> On 2015-11-16 07:40, mass...@fastwebnet.it wrote:
> > Sorry, there was a typo in my previous email.
> > The last example s
]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
the \ifmmode is not honoured, and the change must have happened quite earlier
than a few weeks.
Maybe we should open a new thread as a bug in closecommand?
it probably has to do
Hi Hans,
Thanks for your attention. However the following doesn’t result in what is
expected:
%% begin proof-qed.tex
\defineenumeration
[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\mathortext\eqno\wordright]
\starttext
\startproof
This is a simple proof
On 11/10/2014 10:31 AM, Otared Kavian wrote:
Hi Hans,
Thanks for your attention. However the following doesn’t result in what is
expected:
%% begin proof-qed.tex
\defineenumeration
[proof]
[number=no,
closesymbol=\mathematics{\square},
closecommand=\mathortext\eqno\wordright
=no,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
This is a simple proof.
\stopproof
\startproof
This is another simple proof that ends with a formula
\startformula
1+1=2.
\stopformula
\stopproof
\stoptext
I don’t know when
=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
the \ifmmode is not honoured, and the change must have happened quite earlier
than a few weeks.
Maybe we should open a new thread as a bug in closecommand?
Best regards: OK
On 09 Nov 2014, at 21:29, Mikael P. Sundqvist mic
On Mon, Nov 3, 2014 at 9:15 PM, Mikael P. Sundqvist mic...@gmail.com wrote:
Hi,
I once used
\defineenumeration[proof][
text=Proof,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi,
]
\starttext
\startproof
This is a simple proof.
\stopproof
\wordright\fi]
\starttext
\startproof
This is a simple proof.
\stopproof
\startproof
This is another simple proof that ends with a formula
\startformula
1+1=2.
\stopformula
\stopproof
\stoptext
I don’t know when the change occurred, but at least it worked last year (which
for ConTeXt means
Hi,
I once used
\defineenumeration[proof][
text=Proof,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi,
]
\starttext
\startproof
This is a simple proof.
\stopproof
\startproof
This is another simple proof that ends with a formula
\startformula
1+1=2
setuppagechecker sothat
\definepagechecker[whatever]
\setuppagechecker[whatever]
[lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
and also
\checkpage [lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after
as an added layer on top
of testpage!
At least the test is if X lines left on page or still fit on page!
I also have a question. Are the commands setuppagechecker sothat
\definepagechecker[whatever]
\setuppagechecker[whatever]
[lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par
[whatever]
\setuppagechecker[whatever]
[lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
and also
\checkpage [lines=35,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
in that case you use those values
,
voffset=10pt,
before={\vfill\wordright{(see next page)}\par},
after=\noindentation]
\setupindenting[yes,9pt,first]
\starttext
\noindentation
\input knuth\par
\input knuth\par
\noindentation
\input knuth\par
\checkpage[whatever]
\input knuth\par
\input knuth
I have defined the following macro:
\def\Qur[#1][#2][#3][#4]{\placeongrid{\blank[4pt]\testpage[4]
\setupindenting[no]
\startalignment[right]\setupalign[r2l]\setupinterlinespace[line=3.7ex]\amiri
#1 \stopalignment
\blank[4pt]
{\bf #2} \wordright{\tfx (Heiliger Qur'an #3:#4)}
\blank[3pt
]
{\bf #2} \wordright{\tfx (Heiliger Qur'an #3:#4)}
\blank[3pt]}
}
How can I setup, that paragraphs after this above block will not be indented?
You can add \noindentation at the end of your code. You can also use the
annotation
environment to create a new command for your text where
The code for my headers is of the form:
\setupheadertexts[{\inframed[frame=off,width=\textwidth,location=depth,align={right,broad,nothyphenated},tolerance=verytolerant]{Author\\Title\\\tab{\getmarking[chapternumber]}
\getmarking[chapter] \wordright{\pagenumber}}}]
As you might imagine, the name
\wordright{Ward}
\stopepigraph
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
{\ss}
\def\paratext{\tt}
\def\quotationheader#1#2{{\noindenting\paratext#1]\wordright{[#2}}}
\def\siglum#1{{\bf#1}}
\def\someoneelse#1{{\it#1}}
\stopenvironment
___
If your question is of interest to others as well
\startsetups [annotation:four]
\startframedtext[width=broad,framecolor=red]
\placeannotationcontent
\doifsomething{\annotationparameter{author}}{\wordright{\annotationparameter{author}}}
\stopframedtext
\stopsetups
\defineannotationalternative[four][renderingsetup=annotation:four
formulated?
\setupregister[index][indicator=no,pagecommand=\wordright,before=]
Setup commands are put before \starttext, when you really need these settings
for a certain register placement you can write \placeindex[..,.=.,..]
Wolfgang
On Sat, Apr 14, 2012 at 08:26, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
\setupregister[index][indicator=no,pagecommand=\wordright,before=]
Setup commands are put before \starttext, when you really need these settings
for a certain register placement you can write \placeindex
\wordright{#3}}
% \define[3]\ChapterList % fixed label, wrong for appendices!
% {\labeltext{chapter}#1\crlf#2\wordright{#3}}
\define[3]\ChapterList
{\currentlistsymbol\crlf#2\wordright{#3}}
\setuplist[chapter][label=yes,alternative=command,command=\ChapterList]
\starttext
but the labeltext is tricky:
\setuplabeltext[chapter=CHAPTER~]
% \define[3]\ChapterList % no label!
% {#1\crlf#2\wordright{#3}}
% \define[3]\ChapterList % fixed label, wrong for appendices!
% {\labeltext{chapter}#1\crlf#2\wordright{#3}}
\define[3]\ChapterList
{\currentlistsymbol\crlf#2\wordright{#3
#2\wordright{#3}}
% \define[3]\ChapterList % fixed label, wrong for appendices!%
{\labeltext{chapter}#1\crlf#2\wordright{#3}}
\define[3]\ChapterList {\currentlistsymbol\crlf#2\wordright{#3}}
\setuplist[chapter][label=yes,alternative=command,command=\ChapterList]
\starttext
\startfrontmatter
={\blank[0cm]}”is the wrong way. Such a layout can be easily done with
your own list-commandfor chapter but the labeltext is tricky:
\setuplabeltext[chapter=CHAPTER~]
% \define[3]\ChapterList % no label!% {#1\crlf#2\wordright{#3}}
% \define[3]\ChapterList % fixed label, wrong for appendices
?
Use the “command” alternative.
\define[3]\ChapterList
{\inframed[width=broad]{#1\emspace#2\hfill#3}}
% {\inframed[width=broad]{#1\hspace[big]#2\wordright{#3}}}
\setuplist[chapter][alternative=command,command=\ChapterList]
Wolfgang
[section][margin=3em] and I can't get rid of it … Any
hint?
Use the “command” alternative.
\define[3]\ChapterList
{\inframed[width=broad]{#1\emspace#2\hfill#3}}
% {\inframed[width=broad]{#1\hspace[big]#2\wordright{#3}}}
\setuplist[chapter][alternative=command,command=\ChapterList]
Hi
Hi all,
is it possible to extend the delimited texts implementation in such a way that
the environment would accept optional arguments. What I have in mind is
something like this:
\setupdelimitedtext
[quotation]
[% author=Default Author,
right=”\wordright{\delimitedtextparameter{author
Author,
right=”\wordright{\delimitedtextparameter{author}}]
\starttext \showframe
\startquotation% [author=Some Author]
\dorecurse{50}{text }
\stopquotation
\startquotation% [author=Another Author]
\dorecurse{50}{text }
\stopquotation
\stoptext
\usemodule[annotation
\eqno\else\wordright\fi]
Wolfgang
I hope I can get help on an issue I have with this. Please consider the
minimal example:
\starttext
\definedescription[proof][text=Proof., width=fit, location=serried,
indenting=yes, closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else
\structureuservariable{date}}}%
{\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
% \blank
{\em\structureuservariable{info}}%
\egroup}
\starttext
\startsection[title={A Section}]
\startsubsection
[title={The detailled topic (which takes more than one
{\leftaligned{\em\structureuservariable{date}}}%
{\bfa\structuretitle}\wordright{\tfx\structureuservariable{topic}}
\blank
{\em\structureuservariable{info}}%
\egroup}
\starttext
\startsection[title={A Section}]
\startsubsection
[title={The detailled topic (which takes more
{\leftaligned{\structuretitle}}%
\blackrule
[ width=\textwidth,
height=+.3\lineheight,
depth=-.2\lineheight]}
\define[2]\SubsectionCommand
{\vbox\bgroup
\inleftmargin{\leftaligned{\em\structureuservariable{date}}}%
{\bfa\structuretitle}\wordright{\tfx
}\wordright{\tfx\structureuservariable{topic}}
% \blank
{\em\structureuservariable{info}}%
\egroup}
\starttext
\startsection[title={A Section}]
\startsubsection
[title={The detailled topic (which takes more than one line)}]
[date={The date},topic={Knuth’s topic},info={some text
]\MyLine
{\startmyline\hsize=7cm
\sym{#2}#3\wordright[2em]{#1}%
\stopmyline}
\starttext
\MyLine{5}{Fa.}{This line is short.}
\MyLine{12}{Ma.}{\input knuth }
\MyLine{8}{Pa.}{\input ward }
\stoptext
When you’re going to use this for a long document i suggest an alternative
method
On Nov 9, 2010, at 4:53 PM, Wolfgang Schuster wrote:
Another solution:
\setupbodyfont[termes,12pt]
\setupinterlinespace[line=4.5ex]
\setupalign[hanging]
\defineitemgroup[myline][width=1cm,symstyle=bold]
\define[3]\MyLine
{\startmyline\hsize=7cm
\sym{#2}#3\wordright[2em]{#1
{\structurelistuservariable{date}{(\structurelistuservariable{datum})}{}
}
}
\define[1]\ChapterListTextCommand
{\doifsomethingelse{\structurelistuservariable{date}}
{#1\wordright{\structurelistuservariable{date}}}
{#1}}
Wolfgang
},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
Questa \`e una dimostrazione
\startformula
a=b.
\stopformula
\stopproof
\stoptext
%%
systems : begin file esempio at line 19
! Missing } inserted.
inserted text
}
to be read again
=it,
indentnext=yes,
indenting=yes,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
Questa \`e una dimostrazione
\startformula
a=b.
\stopformula
\stopproof
\stoptext
%%
This works with mkiv, but not with mkii
.]
\setupdescriptions
[proof]
[width=broad,
distance=0.5em,
location=serried,
headstyle=it,
indentnext=yes,
indenting=yes,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
\starttext
\startproof
Questa \`e una dimostrazione
\startformula
a=b
,
distance=0.5em,
location=serried,
headstyle=it,
indentnext=yes,
indenting=yes,
closesymbol=\mathematics{\square},
closecommand=\ifmmode\eqno\else\wordright\fi]
Wolfgang
___
If your question
, 1 stopbit.) \hfill (4 body)
Try \wordright{(4 body)}
Aditya
--
Tato zpráva byla vytvořena převratným poštovním klientem Opery:
http://www.opera.com/mail/
___
If your question is of interest to others as well
signálu TX při vyslání dvou znaků, které odpovídají
vaším iniciálám. Jak dlouho bude tento proces trvat? (Předpokládejte
rychlost 57600 Bd, 8 datových bitů, 1 stopbit.) \hfill (4 body)
Try \wordright{(4 body)}
Aditya___
(Genesis 3, 21)}
\stopnarrower
\stoptext
I want \RT a macro which does nothing if there is enough space on the
right to set the whole argument and puts the argument in a new line,
rightaligned otherwise.
Can someone remember who has asked this before, or a fresh solution
alternativly.
\wordright
On 21-1-2010 14:53, Andreas Harder wrote:
Hello Hans,
is there a reason (I’m sure there is) that \finalhyphendemerits\zerocount in
the \wordright-definition is commented out? Without this line I get wrong line
breaks with hyphenated words followed by \wordright{…}.
\starttext
Hello Hans,
is there a reason (I’m sure there is) that \finalhyphendemerits\zerocount in
the \wordright-definition is commented out? Without this line I get wrong line
breaks with hyphenated words followed by \wordright{…}.
\starttext
\setupframedtexts[width=.65\textwidth,offset=none
Hi,
\wordright{something} don’t like it if the preceding line have a hyphenated
word. It seems to work if one changes \allowbreak to hskip\zeropoint in the
macro-definition.
Here an example:
\mainlanguage[de]
% \unprotect
% \def\dowordright[#1]%
% {% don't change
%\groupedcommand
]
# \verticalstrut
# \vfilll
# \VL
\vl[number]
# \vpos
\WEEKDAY{text}
\weekday{text}
\whitespace
\WORD{text}
\Word{text}
\wordright{text}
\WORDS{text text}
\Words{text text}
\writebetweenlist[section|name]{text}
\writetolist[section|name]{text}{text}
\writetoreferencelist[name]{text}{text
97 matches
Mail list logo